//
// Created by 11401 on 25-7-8.
//

#ifndef TASK_RECEIVED_H
#define TASK_RECEIVED_H

#include  "main.h"


typedef struct
{
    uint8_t * tx_buffer;
    uint8_t * rx_buffer;
    UART_HandleTypeDef *huart;
}task_rx_t;

extern task_rx_t  task_rx_tx;


extern osMessageQueueId_t dispatcher_task_txHandle;





void bsp_task_notifications_init(UART_HandleTypeDef *huart);

void bsp_task_notifications_tx(uint8_t *action_command,uint8_t size);

void bsp_task_notifications_callback(UART_HandleTypeDef *huart, uint16_t Size);


void task_notifications_dispose(uint8_t *rx_data);
#endif //TASK_RECEIVED_H
